import request from '@/utils/request'
// 获取所有角色列表
export const reqGetRolesList = (page, pagesize) => request({
  method: 'get',
  url: '/sys/role',
  params: {
    page,
    pagesize
  }
})
// 获取删除角色信息
export const reqDelRole = (id) => request({
  method: 'delete',
  url: `/sys/role/${id}`
})
// 查询企业信息
export const reqGetCompanyInfo = (id) => request({
  method: 'get',
  url: `/company/${id}`
})
